//
//  KSKACategory.m
//  DashboardHD
//
//  Created by 楊亜玲 on 17/4/5.
//  Copyright © 2017年 Totyu. All rights reserved.
//

#import "KSKACategory.h"

@implementation KSKACategory

-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.actionid = dict[@"actionid"];
        self.actionname = dict[@"actionname"];
        self.actioncolor = dict[@"actioncolor"];
    }
    return self;
}


+(instancetype)actionWithDict:(NSDictionary *)dict
{
    return [[self alloc]initWithDict:dict];
}


@end
